home *** CD-ROM | disk | FTP | other *** search
- RoughTime 4.19 (13-Dec-1992)
- ============================
-
- (c) Jon Ribbens of Doggysoft, 1992
-
-
- This program may be freely distributed as long as you don't make any money
- out of doing so, and as long as all the files are included and are unaltered.
- If you alter it or try to make money out of it then you're probably breaking
- the law (at least, that's the idea).
- There is no warranty, express, implied or anything, that this program will do
- anything at all, that it will work as described, that it won't do things that
- are not described, or that it won't run off and sob quietly in a corner.
- I CAN tell you that it hasn't done this while I've been using it, however.
-
-
- Instructions
- ------------
-
- Double-click on the icon to load it, it will pop up a window near the icon
- bar... It says the time to the nearest five minutes. To move the window
- about, treat the entire window as if it were its own title bar - click select
- on it to bring it to the front, drag adjust to move it, and drag select to
- bring it to the front and move it.
-
- This version is a yet another complete rewrite since the previous released
- one (and there was an unreleased complete re-write inbetween times). It is
- entirely written in assembler, is a module task and now has alarms. This
- means that it takes only a little bit more memory (less on a 4Meg machine)
- than before - now about 29k - and will stick around if you quit the desktop.
- It now uses my WimpExtension module, which, if you don't have version 1.69 or
- later already, should be moved from this directory into the !System.Modules
- directory.
-
- To use the 'Rough Alarms', click MENU on the time display window and select
- 'Alarm'. A window will open with an inner linked window. You can have up to
- 32 alarms, numbered 0-31. Select the slot with the icons at the top. Each
- alarm will only be enabled if the radio button next to this is on.
- YOU MUST REMEMBER TO ENABLE YOUR ALARMS - they won't go off otherwise. In the
- linked window there are six sections. The top section specifies what time the
- alarm should go off. The arrows on the left alter the minutes in 5 minute
- steps, and the arrows on the right alter the hours. You can also click on
- 'AM' or 'PM'.
-
- The next section specifies the date. Click on the arrows to alter the fields.
- Leap years and everything should be handled OK. The day of the week is
- displayed as a really small sprite under the date. The year can be in the
- range 1992-2091. (Slightly optimistic, there.)
-
- The third section allows you to enter a message to be displayed when the
- alarm goes off, up to about a hundred characters.
-
- The next section allows you to specify a repeat delay. This means that the
- alarm will go off when specified, and then the delay set will be added to it,
- and the alarm re-enabled. This means, for instance, you can set an alarm to
- go off every week, every other day, every year, or whatever. The repeat is
- only enabled if the radio button is pressed in. The units allowed are
- 'minutes', 'hours', 'days', 'weeks', 'months' and 'years'. On 'minutes' the
- amount can only be set to a multiple of 5.
-
- The penultimate section allows you to specify 'Limited period only'. If this
- is on then, instead of making so the alarm goes off if the current time is
- any time after the alarm time, it will only go off in the period between the
- alarm time and a half hour later. This is useful, for example, for TV
- programmes - you don't really want to be told you missed something yesterday.
- If the alarm is found to have missed (eg. because the computer wasn't on at
- the alarm time) then repeating alarms will be moved forward ready for the
- next repeat time, and non-repeating alarms will be disabled.
-
- The last section allows you to specify that the alarm will only go off on
- certain days (only really useful for repeating alarms). This means that, for
- example, you can set an alarm to go off every day, and then click on
- 'Saturday' and 'Sunday' so they're off, and the alarm will go off every
- weekday, but not weekends. If you have a repeating alarm cunningly set up so
- that it will never go off due to the 'certain days only' feature then Rough
- Time will give you an error message when you click 'OK', and move you back to
- that alarm so you can fix it (otherwise it would get all confused when it
- tried to advance the alarm to the next repeat date).
-
- The button 'Reset alarm' at the bottom of the window will change the time and
- date of the currently displayed alarm to the current time and date, disable
- the alarm, clear the message field, reset the repeat, enable all the days and
- turn off 'limited period only'. It is suggested that you use this to clear a
- slot before putting a new alarm in.
-
- There is a very minor problem with the repeat in that if you, for some
- foolish reason, set it (for example) to 1st Jan 1992 and have a repeat delay
- of 5 mins then it will take AGES to work out the next repeat time as it has
- to be later than the current time, so it has to skip through several months
- (at least) in 5 minute steps. If you accidentally get stuck like this (the
- hourglass will be on, and everything else will have stopped), press Escape
- and the alarm will be disabled. There's nothing much I can do about this;
- Acorn's Alarm suffers from it too, only much worse as it's in BASIC and it
- doesn't let you press Escape to get out of it...
-
- The alarm will go off if the current time is equal to or later than the alarm
- time (unless it's a 'limited period only' one - see above). It will actually
- go off 2 minutes early (assuming your real-time clock is set right!), so you
- can set your alarm for 'about nine o'clock' every Thursday and you won't miss
- Harry Enfield :-). [ Except you will now the series has finished :-( ]
-
- When the alarm goes off, the computer will beep and a reasonably large
- window will appear. At the top is the time the alarm was set for. Next is the
- time that the alarm will next go off (if 'repeat' is enabled). Last is the
- message. The computer will beep every 5 seconds-ish while the window is open.
- There are three buttons on the right, 'OK', 'Disable' and 'Defer'. 'OK' will
- close the window. 'Disable' will close the window and disable the alarm. If
- the alarm wasn't a repeating alarm then the 'Disable' button will be shaded
- as clicking OK will disable it anyway.
-
- The defer button is unshaded if the alarm wasn't a repeating alarm. If you
- click on it a small window will appear to let you specify a time-period. If
- you click 'OK' in this small window then the alarm will be pushed forward
- from the current time by the amount specified and re-enabled.
-
- I've now added two extra icons in the main window, like you get on digital
- watches. The left hand one (which looks a bit like a bell) can be used to
- prevent any alarms from going off. The right hand one, if unshaded, means
- that the computer will make a little beepy noise every hour (a 'chime'). The
- settings of these icons is saved when you click 'OK' in the alarm setting
- window.
-
- Rough Time now supports 'Task alarms'. These are like what I understand
- Alarm's task alarms to be. If the 'Message' field starts with the '¤'
- character (that's shift-£) then the rest of the message will be treated as
- an OS (star) command which can be used to start up a task, or anything else
- you like, really. eg.
- ¤VEnd_StartScan -kill -arcfs scsi::HardDisc.$
- would ask VEnd to scan your hard-drive at whatever time you had set the
- alarm for. Or,
- ¤Run scsi::HardDisc.$.Library.TidyDisc
- would run a file called 'TidyDisc' in the $.Library directory. Remember that
- if you ask Rough Time to run a non-multitasking program then the desktop will
- stop until that program exits.
-
- The alarms are stored in a file '<RoughTime$Dir>.Alarms' so you can no longer
- just use the module on its own, you have to put it in an application
- directory. If Rough Time can't save the file, it won't (surprise surprise).
- It needs the 'ptr_write' sprite to be in the Wimp sprite pool, so this is
- included in the !Sprites file (it's a pretty standard sprite anyway). As
- Rough Time may decide to save to its alarm file at odd times (eg. when a
- 'limited period' alarm is detected to have missed) the BREAK key is disabled
- while the file is updated, to prevent you accidentally corrupting your disc.
-
- Rough Time is now supplied in three versions - they're all the same but they
- have different main window styles. You can alter the !Run file to load
- whichever one you prefer. RoughRM1 is the normal style, RoughRM2 is a very
- very small window that you can, for example, squeeze at the top of the
- iconbar and take up practically no screen room at all, and RoughRM3 looks
- like it's part of the backdrop, and has the 'Back' attribute set so that
- other windows can't go behind it (you can't move this one around).
-
- If you want the time display window to start in a certain place then you can
- include the screen coordinates in the RMRun command in the !Run file - eg if
- you want the window to appear at 200,800 then change the last line of the
- file to say 'RMRun <Obey$Dir>.RoughRM1 200,800'. This is useful if you load
- Rough Time in your boot sequence and you don't want to have to shift it
- manually across the screen every time.
-
- If you can think of any improvements, please don't hesitate to contact me...
-
-
- Watch out for Lifeguard, an utterly brilliant screen-saver. It's sort of like
- AfterDark on the PC, with lots of nice effects (fireworks, stars, dancing
- lines, snowflakes ...). It's now on release at a Bulletin Board or PD company
- near you (or quite far away, it all depends on where you live really).
-
- You MUST get yourself a copy of my WimpExtension module and the
- documentation, it's infinitely useful and utterly brilliant. :-)
-
-
- Money, comments, money, bug reports, demos, money, anything to me at:
-
- Jon Ribbens
- 39 Nutkins Way
- Chesham
- Bucks
- HP5 2BE
-
- EMail to me Arcade BBS. It may take a little while, as I don't have a modem
- personally but I have a friend who does...
-